package com.wframe.project.former.dataservices.marketing;

import com.frame.database.JBaseDao;

/**
 * Created by Administrator on 2017/6/13.
 */
public class BuyPromotionsDao extends JBaseDao {
    public BuyPromotionsDao() {
        super("wb_promotions");
    }
    public void BuyUpDataStop(int id, int state) throws Exception{
        getSession().update("update wb_promotions set state=? where id=?", new Object[]{state, id});
    }
}
